<template>
  <div>
    <h1>hello</h1>
    {{course}}
    <button @click="toPay">去支付</button>
    <input v-model="course">
  </div>

</template>

<script>
  export default {
    data(){
      return{
        course:"微信支付"
      }
    },
    methods:{
      toPay(){
        console.log("去支付")
      }
    }
  }
</script>

<style>

</style>
